package cn.tedu.csms.employee.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class EmployeeSaveParam {

    @ApiModelProperty(value = "员工id")
    private Long id;
    @ApiModelProperty(value = "员工姓名")
    private String name;
    @ApiModelProperty(value = "员工年龄")
    private Integer age;
    @ApiModelProperty(value = "员工性别")
    private String gender;
    @ApiModelProperty(value = "员工学历")
    private String degree;
    @ApiModelProperty(value = "出生日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    @ApiModelProperty(value = "婚姻状况")
    private String marriage;
    @ApiModelProperty(value = "手机号码")
    private String phone;
    @ApiModelProperty(value = "员工邮箱")
    private String email;
    @ApiModelProperty(value = "员工家庭地址")
    private String address;
    @ApiModelProperty(value = "现居地址")
    private String currentAddress;
    @ApiModelProperty(value = "紧急联系人")
    private String emergencyContact;
    @ApiModelProperty(value = "紧急联系人电话")
    private String contactPhone;
    @ApiModelProperty(value = "新增员工时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "员工信息修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
